export default {
  options (h, conf, key) {
    const list = []
    conf.slot.options.forEach(item => {
      if (conf.config.optionType === 'button') {
        list.push(<el-checkbox-button checked={item.checked} label={item.value}>{item.label}</el-checkbox-button>)
      } else {
        list.push(<el-checkbox checked={item.checked} label={item.value} border={conf.config.border}>{item.label}</el-checkbox>)
      }
    })
    return list
  }
}
